<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="tr09" uri="http://www.51i-star.com/news"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>发货单列表</title>
<script type="text/javascript">
	function order(id){
		location.href="OrderMain?id="+id;
	}
</script>
<style type="text/css">
* {
	margin: 0px;
	padding: 0px;
}
.t2 {
	background: #f3f3f3 repeat-x;
	border: 1px solid #ddd;
	padding: 5px;
	color: #808080;
	margin: 0 0 10px 0;
	font-size: 12px;
}
.t3 {
	border-collapse: collapse;
	border: none;
	width: 100%;
}

.t3 td{
		text-align: center;
	}
	
	th,td{
		padding: 8px;
		border: none;
		border-bottom: 1px solid #CCC;
	}
	
	th{
		color: gray;
		border:1px #CCC solid;
		background: #f3f3f3;
	}
	
	td{
		border-bottom: 1px dashed #CCC;
		border-left: 1px dashed #CCC;
		font-size: 12px;
		background: white;
	}
.t5 {
	background: #e8e8e8;
	border: 0px red solid;
	height: 70px;
}

.t6 {
	padding-top: 19px;
	font-size: 18px;
	border-bottom: 1px solid #ccc;
}

p, td, div {
    font: 12px Microsoft Yahei, "sans-serif", "Arial", "Verdana";
}
input.button {
	padding: 5px 15px 5px;
	margin: 2px 2px;
	border: none;
	background: #56bbeb;
	color: #FFF;
	cursor: pointer;
	border-radius: 3px;
}
.pager {
	text-align: right;
	padding: 10px;
}
.pager a {
	text-decoration: none;
	color: gray;
}

.pager span {
	font-size: 12px;
	color: gray;
}
img {
	vertical-align: middle;
}
a {
	color: -webkit-link;
	text-decoration: underline;
	cursor: pointer;
}
</style>
</head>
<body>
	<div class="t5">
		<h1 class="t6">小熊猫 管理中心—发货单列表</h1>
	</div>
	<div class="t2">
		<form action="SendOrdertext">
			<input type="hidden" name="curpage" value="1">
			<input type="hidden" name="pagesize" value="5">
			<img src="image/后台图片/icon_search.gif" border="0" alt="SEARCH"> 订单号：<input name="txt">
			收货人：<input name="name"> <select name="state" id="status">
				<option >请选择</option>
				<option >已发货</option>
				<option >已成交</option>
			</select>
			<input type="submit" value=" 搜索 "
				class="button">
		</form>
	</div>

<table width=100% border="1" class="t3">
  <tbody>
  <tr>
    <th>订单号</th>
    <th>下单时间</th>
    <th>收货人</th>
    <th>发货时间</th>
    <th>发货单状态</th>
    <th>操作人</th>
    <th>操作</th>
  </tr>
  <c:forEach items="${list}" var="c">
			<tr>
				<td>${c.orderAddress}</td>
				<td>${c.orderTime}</td>
				<td>${c.orderReceipt}</td>
				<td>${c.orderEndtime}</td>
				<td>${c.orderState}</td>
				<td>${man.user}</td>
				<td><a onclick="order(${c.orderAddress})"><img title="查看详情" src="image/后台图片/查看订单.png"></a></td>
			</tr>
</c:forEach>
  </tbody>
  </table>

  </div>
	<div class="pager">
		<tr09:pager url="SendOrderMenu" pagesize="5" total="${total}"
			curpage="${param.curpage}" />
</body>
</html>